/*
 * SOPInterval.h
 *
 *  Created on: Mar 18, 2013
 *      Author: shuai
 */

#ifndef SOPINTERVAL_H_
#define SOPINTERVAL_H_

#include <iostream>
#include <vector>
#include "SOPDetectorState.h"

class SOPInterval
{
	public:
		SOPInterval();
		SOPInterval(std::string beginValue, std::string endValue);
		virtual ~SOPInterval();

	private:
		/* Begin time */
		std::string begin;

		/* End time */
		std::string end;

		/* Detectors */
		SOPDetectorState * detector;

	public:
		/* Get begin */
		std::string GetBegin();

		/* Set begin */
		void SetBegin(std::string value);

		/* Get end */
		std::string GetEnd();

		/* Set end */
		void SetEnd(std::string value);

		/* Add a detector */
		void SetDetector(SOPDetectorState * detect);

		/* void GetDetector */
		SOPDetectorState * GetDetector();
};

#endif /* SOPINTERVAL_H_ */
